package com.pshcp.domain.model;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import java.util.Date;
import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 专家患者报道设置表
 * </p>
 *
 * @author auto generator
 * @since 2022-11-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Table(name = "t_doctor_patient_check_in_settings")
public class DoctorPatientCheckInSettings implements Serializable {

    private static final long serialVersionUID=1L;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    private Long doctorId;

    /**
     * 0不允许1允许
     */
    private Integer checkInAllowedFlag;

    /**
     * 欢迎语
     */
    private String welcomeMessage;

    /**
     * 0永久1临时2关闭
     */
    private Integer patientSessionStatus;

    /**
     * 0组合1固定
     */
    private Integer ruleType;

    /**
     * 免费天数
     */
    private Integer freeDays;

    /**
     * 限制数量
     */
    private Integer limitedQuantity;

    /**
     * 固定数量
     */
    private Integer fixedQuantity;

    /**
     * 状态 0正常 1删除
     */
    private Integer status;

    /**
     * 创建时间
     */
    private Date createdTime;

    /**
     * 更新时间
     */
    private Date updateTime;


}
